package com.sky.service;


import com.sky.dto.ShoppingCartDTO;
import com.sky.dto.UserLoginDTO;
import com.sky.entity.ShoppingCart;
import com.sky.entity.User;

import java.util.List;

public interface ShoppingCartService {

    /*
    * 添加购物车
    * @param shoppingCartDTO
    * @return void
    */
    void add(ShoppingCartDTO shoppingCartDTO);


    /*
    * 获取购物车
     */
    List<ShoppingCart> list();


    void delete();

    void sub(ShoppingCartDTO shoppingCartDTO);
}
